Xbasic

A5_DELETE_SETTINGS Function

Syntax

P a5_delete_settings(C setting_name [,C dictionary ])

Arguments

setting_name

The name of the setting that you wish to create.

dictionary

Optional. Default = data dictionary (.ALB file) for the current database. Path and filename of any Alpha Anywhere data dictionary file (i.e. a .ALB, .DDD or .SET file), or a text file.

Description

Deletes a saved setting. Setting created by a5_settings(). Record name is 'setting_name' and type is 'SAVU'.

Discussion

The A5_DELETE_SETTINGS() function removes user defined settings from a data dictionary.

Example

dim family as P
dim family.kids as P
dim ret as P
family.mom = "Irene"
family.dad = "David"
family.kids.first = "Sam"
family.kids.second = "Pam"
a5_save_settings("MyFamily", family, "c:\settings1.txt")
a5_delete_settings("MyFamily")
a5_load_settings("MyFamily", ret)
? ret
=

Limitations

Desktop applications only.

See Also